<!DOCTYPE html>
<?php
    session_start();
    if((isset($_SESSION['admin']))&&(isset($_SESSION['cliente']))){
        require_once("viewmenu.php");
?>
<html lang="pt-br">
    <head>
	<meta charset="utf-8">
        <link rel="stylesheet" type="text/css" href="css/estilo-default.css"/>
        <link rel="stylesheet" type="text/css" href="css/tabelasenha.css"/>        
        <script type="text/javascript" src="js/jquery.js"></script>
        <script type="text/javascript" src="js/jquery.validate.js"></script>
        <script type='text/javascript' src='js/jquery.form.js'></script>
        <script type='text/javascript' src='js/cliente.senha.cadastrar.js'></script>        
	<title>Cadastro</title>
    </head>
    <body>
	<div id='centro'>
            <p>Cadastrar Senha</p>
            <fieldset>
                <form name="cadastrosenha" id="cadastrosenha" method="post" action="../control/ControleCadastroCliente.php">
                    <table>
                        <tr>
                            <td class="td1">Nova Senha:</td>
                            <td class="td2"><input type='password' name='senha' id="senha" class="input-text" autofocus/></td>
                        </tr>
                        <tr>
                            <td class="td1">Repita a Senha:</td>
                            <td class="td2"><input type='password' name='repetesenha' id="repetesenha" class="input-text"/></td>
                        </tr>
                        <tr>
                            <td colspan="2"><input type='submit' name='controle' value='Cadastrar'/></td>
                        </tr>
                    </table>
                </form>
            </fieldset>
	</div>
    </body>
</html>
<?php
    }else{
        header("Location: index.php");
    }
?>